class CreateFlickrs < ActiveRecord::Migration
  def self.up
    create_table :flickrs do |t|
      t.string :title
      #array of tags
      t.string :tags
      t.integer :date_uploaded
      t.integer :upload_day
      t.integer :upload_month
      t.integer :upload_year
      t.string :photoid
      t.string :date_taken
      t.integer :views
      t.string :owner
      t.references :tag
      
      t.timestamps
    end
  end

  def self.down
    drop_table :flickrs
  end
end
